package cn.itcast.hotel.service;

import cn.itcast.hotel.pojo.Hotel;
import cn.itcast.hotel.pojo.PageResult;
import cn.itcast.hotel.pojo.RequestParams;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface IHotelService extends IService<Hotel> {
    PageResult search(RequestParams params) ;

    List<String> getSuggestion(String prefix);
}
